]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
xdnd: Only pick reactive actors
authorAdel Gadllah <adel.gadllah@gmail.com>
Fri, 22 Feb 2013 18:58:38 +0000 (19:58 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Fri, 22 Feb 2013 19:02:22 +0000 (20:02 +0100)
This is the only sane way to get select windows in the overview,
as workspace._dropRect blocks our view otherwise.

js/ui/xdndHandler.js

index a662b44d496d38131e5ecf67d013161f75e34ded..e9f3612695010cf406d108ba49789d146a36684a 100644 (file)
@@ -82,7 +82,7 @@ const XdndHandler = new Lang.Class({
     },
 
     _onPositionChanged: function(obj, x, y) {
-        let pickedActor = global.stage.get_actor_at_pos(Clutter.PickMode.ALL, x, y);
+        let pickedActor = global.stage.get_actor_at_pos(Clutter.PickMode.REACTIVE, x, y);
 
         // Make sure that the cursor window is on top
         if (this._cursorWindowClone)